package org.jeecg.modules.solitaire_app.app.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 驻场申请
 * @Author: jeecg-boot
 * @Date:   2023-08-30
 * @Version: V1.0
 */
@Data
@TableName("ysy_onsite_apply")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ysy_onsite_apply对象", description="驻场申请")
public class YsyOnsiteApply {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**所属用户*/
	@Excel(name = "所属用户", width = 15)
    @ApiModelProperty(value = "所属用户")
	private String userId;
	/**用户昵称*/
	@Excel(name = "用户昵称", width = 15)
    @ApiModelProperty(value = "用户昵称")
	private String userName;
	/**用户手机号*/
	@Excel(name = "用户手机号", width = 15)
    @ApiModelProperty(value = "用户手机号")
	private String telPhone;
	/**用户所在省份*/
	@Excel(name = "用户所在省份", width = 15)
    @ApiModelProperty(value = "用户所在省份")
	private String province;
	/**用户所在城市*/
	@Excel(name = "用户所在城市", width = 15)
    @ApiModelProperty(value = "用户所在城市")
	private String city;
	/**用户所在区*/
	@Excel(name = "用户所在区", width = 15)
    @ApiModelProperty(value = "用户所在区")
	private String area;
	/**用户所在地详细地址*/
	@Excel(name = "用户所在地详细地址", width = 15)
    @ApiModelProperty(value = "用户所在地详细地址")
	private String address;
	/**所属炼厂*/
	@Excel(name = "所属炼厂", width = 15)
    @ApiModelProperty(value = "所属炼厂")
	private String refineryIds;
	/**申请时间*/
	@Excel(name = "申请时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "申请时间")
	private Date createTime;
	/**申请状态：0-待审核，1-审核通过，2-审核未通过*/
	@Excel(name = "申请状态：0-待审核，1-审核通过，2-审核未通过", width = 15)
    @ApiModelProperty(value = "申请状态：0-待审核，1-审核通过，2-审核未通过")
	private Integer status;
	/**审核时间*/
	@Excel(name = "审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
	private Date auditTime;
	/**拒绝原因*/
	@Excel(name = "拒绝原因", width = 15)
    @ApiModelProperty(value = "拒绝原因")
	private String rejectReason;

	@TableField(exist = false)
	private String refineryNames;
}
